# Copyright (C) 2011 Michael Zhang <zhangfuxi@gmail.com>
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AC_INIT([Express Shell],
        [0.0.1],
        [Michael Zhang zhangfuxi@gmail.com],
        [exprshell])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])

#LF_CONFIGURE_CC
#LF_CONFIGURE_CXX
#LF_HOST_TYPE
#LF_SET_WARNINGS
AC_PROG_RANLIB
AC_PROG_CXX

AC_CONFIG_FILES([
   Makefile
   README
   doc/Makefile
   m4/Makefile
   src/Makefile
])

# Checks for libraries.
#AC_SEARCH_LIBS([sc_context_create], [opensc])
PKG_PROG_PKG_CONFIG([0.9.0])
PKG_CHECK_MODULES([OPENSC], [libopensc >= 0.11.10])

# Checks for headers.
#AC_CHECK_HEADERS([opensc.h])

AC_OUTPUT
